package router

import (
	"github.com/gin-gonic/gin"
	"seat-service/api"
)

type studentAdminRouter struct {
}

func (s *studentAdminRouter) studentAdminRouterGroup(Router *gin.RouterGroup) *gin.RouterGroup {
	studentAdminApi := api.StudentAdminApi{}
	studentAdmin := Router.Group("/studentAdmin")
	{
		studentAdmin.POST("/query/allStudents", studentAdminApi.GetAllStudentInformations) //得到所有学生信息
		studentAdmin.POST("/cancel/studentByIds", studentAdminApi.ChangeStudentStatus)     //取消学生的违规状态
	}
	return studentAdmin
}
